package com.product.system.mapper;


import com.product.system.domain.Condition;
import com.product.system.domain.LoginName;
import com.product.system.domain.User;
import com.product.system.domain.UserBarChart;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
//    List<User> listUser(User user);//extends BaseMapper<User>

    void addUser(User user);

    void updateUser(User user);

    User loginOrName(LoginName loginName);

    int byUserId(Integer id);

    List<User> getExcelUser();

    List<User> listAll();

    List<UserBarChart> barChartList();

    List<User> getList();
}
